/**********************************************************************
 * SailmiPIM - modular cross-platform feature Personal Information Manager Tools.
 * Copyright(C) 2006-2014  Georg Rudoy
 *
 * Distributed under the Boost Software License, Version 1.0.
 *(See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
 **********************************************************************/

#ifndef UTIL_STRUCTURESOPS_H
#define UTIL_STRUCTURESOPS_H
#include <QDataStream>
#include "sailmipim/structures.h"
#include "utilconfig.h"

UTIL_API QDataStream& operator<<(QDataStream& out, const SailmiPIM::Entity& e);
UTIL_API QDataStream& operator>>(QDataStream& in, SailmiPIM::Entity& e);

namespace SailmiPIM
{
	UTIL_API bool operator<(const SailmiPIM::Entity&, const SailmiPIM::Entity&);
	UTIL_API bool operator==(const SailmiPIM::Entity&, const SailmiPIM::Entity&);
}

#endif

